<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Webpack引入Bootstrap3示例</title>
<script src="/assets/test.bundle.js"></script>
</head>
<body>
	<div class="container">
		<div class="row">
			<h3>表单</h3>
			<form action="" role="form">
				<div class="form-group">
					<label for="">用户名</label>
					<input type="text" class="form-control">
				</div>
				<p><button class="btn btn-primary" type="button">提交</button></p>
			</form>
		</div>

		<hr>
		<!-- Button trigger modal -->
		<p>
			Bootstrap官方JS插件也有了
			<button type="button" class="btn btn-default btn-lg" data-toggle="modal" data-target="#myModal">属性绑定触发弹出模态框</button>
			<button type="button" class="btn btn-primary btn-lg" id="btnShowModal">JS代码触发弹出模态框</button>
		</p>

		<!-- Modal -->
		<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close">
							<span aria-hidden="true">&times;</span>
						</button>
						<h4 class="modal-title" id="myModalLabel">Modal title</h4>
					</div>
					<div class="modal-body">
						模态框内容 <span style="color:red;">html</span>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						<button type="button" class="btn btn-primary">保存</button>
					</div>
				</div>
			</div>
		</div>
		
	</div>
</body>
</html>